package com.netease.pris.activity.view;

import java.util.Iterator;
import java.util.LinkedList;

class cc extends Thread
{
  private static final long b = 35L;
  private boolean c = false;

  private cc(PRISGridView paramPRISGridView)
  {
  }

  public void a()
  {
    this.c = true;
  }

  public void run()
  {
    while (true)
      if (!this.c)
      {
        while (true)
        {
          Iterator localIterator;
          synchronized (PRISGridView.d(this.a))
          {
            boolean bool = PRISGridView.d(this.a).isEmpty();
            if (!bool)
              continue;
            try
            {
              PRISGridView.d(this.a).wait();
            }
            catch (InterruptedException localInterruptedException2)
            {
              localInterruptedException2.printStackTrace();
            }
            if (!this.c)
              continue;
            return;
            localIterator = PRISGridView.d(this.a).iterator();
            if (!localIterator.hasNext())
              break;
            at localat = (at)localIterator.next();
            if (localat.a())
              localat.b();
          }
          localIterator.remove();
        }
        try
        {
          Thread.sleep(35L);
          monitorexit;
        }
        catch (InterruptedException localInterruptedException1)
        {
          while (true)
            localInterruptedException1.printStackTrace();
        }
      }
  }
}

/* Location:           D:\android\hack\dex2jar-0.0.9.8\classes_dex2jar.jar
 * Qualified Name:     com.netease.pris.activity.view.cc
 * JD-Core Version:    0.6.0
 */